package ModelLayer;


/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
    // instance variables - replace the example below with your own
    private String name;
    private String address;
    private String city;
    private long id;
    private String phone;
    private String zipCode;

    /**
     * Constructor for objects of class Person
     */
    public Person(String name, String address, String city, long id, String phone, String zipCode)
    {
        this.name = name;
        this.address = address;
        this.city = city;
        this.id = id;
        this.phone = phone;
        this.zipCode = zipCode;
    }
    
    public String getName()
    {
        return name;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public String getCity()
    {
        return city;
    }
    
    public long getID()
    {
        return id;
    }
    
    public String getPhone()
    {
        return phone;
    }
    
    public String getZipCode()
    {
        return zipCode;
    }
    
    public void printInfo()
    {
        System.out.println("Name: " + name);
        System.out.println("Address: " + address);
        System.out.println("City: " + city);
        System.out.println("Zip Code: " + zipCode);
        System.out.println("ID: " + id);
        System.out.println("Phone nr: " + phone);
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    public void setCity(String city)
    {
        this.city = city;
    }
    
    public void setID(long id)
    {
        this.id = id;
    }
    
    public void setPhone(String phone)
    {
        this.phone = phone;
    }
    
    public void setZipCode(String zipCode)
    {
        this.zipCode = zipCode;
    }
    
}
